package service.impl;

import dao.IUserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import service.IUserService;

import javax.annotation.Resource;

/**
 * 业务层
 */
@Component
public class UserServiceImpl implements IUserService {

    @Autowired
    private IUserDao userDao;


    //实例化dao
    public void saveUser() {
        userDao.saveUser();
    }
}